home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / APXMDIDV.PAK / APXMDDVA.H < prev    next >
C/C++ Source or Header  |  1997-05-06  |  2KB  |  79 lines

  1. //----------------------------------------------------------------------------
  2. //  Project ApxMdiDv
  3. //  Borland International
  4. //  Copyright ⌐ 1996. All Rights Reserved.
  5. //
  6. //  SUBSYSTEM:    ApxMdiDv Application
  7. //  FILE:         apxmddva.h
  8. //  AUTHOR:       
  9. //
  10. //  OVERVIEW
  11. //  ~~~~~~~~
  12. //  Class definition for TApxMdiDvApp (TApplication).
  13. //
  14. //----------------------------------------------------------------------------
  15. #if !defined(apxmddva_h)              // Sentry, use file only if it's not already included.
  16. #define apxmddva_h
  17.  
  18. #include <owl/controlb.h>
  19. #include <owl/docking.h>
  20. #include <owl/mailer.h>
  21. #include <owl/printer.h>
  22. #include <owl/rcntfile.h>
  23.  
  24. #include <classlib/bags.h>
  25.  
  26. #include "apmdmdic.h"
  27.  
  28. #include "apxmddva.rh"            // Definition of all resources.
  29.  
  30.  
  31. //{{TApplication = TApxMdiDvApp}}
  32. class TApxMdiDvApp : public TApplication, public TRecentFiles {
  33.   private:
  34.     void SetupSpeedBar(TDecoratedMDIFrame* frame);
  35.     void AddFiles(TFileDropletList& files);
  36.     void ProcessCmdLine(char * CmdLine);
  37.     void RegisterInfo();
  38.     void UnRegisterInfo();
  39.  
  40.   public:
  41.     TApxMdiDvApp();
  42.     virtual ~TApxMdiDvApp();
  43.  
  44.     void CreateGadgets(TDockableControlBar* cb, bool server = false);
  45.     THarbor*        ApxHarbor;
  46.  
  47.     TApxMdiDvMDIClient* MdiClient;
  48.  
  49.     // Public data members used by the print menu commands and Paint routine in MDIChild.
  50.     //
  51.     TPrinter*       Printer;                           // Printer support.
  52.     int             Printing;                          // Printing in progress.
  53.  
  54.     TMailer*        ApxMail;
  55.  
  56. //{{TApxMdiDvAppVIRTUAL_BEGIN}}
  57.   public:
  58.     virtual void InitMainWindow();
  59.     virtual void InitInstance();
  60. //{{TApxMdiDvAppVIRTUAL_END}}
  61.  
  62. //{{TApxMdiDvAppRSP_TBL_BEGIN}}
  63.   protected:
  64.     void EvNewView(TView& view);
  65.     void EvCloseView(TView& view);
  66.     void CeFileSend(TCommandEnabler& ce);
  67.     void CmFileSend();
  68.     void CmHelpAbout();
  69.     void EvDropFiles(TDropInfo drop);
  70.     void EvWinIniChange(char far* section);
  71.     void EvOwlDocument(TDocument& doc);
  72.     int32 CmFileSelected(uint wp, int32 lp);
  73. //{{TApxMdiDvAppRSP_TBL_END}}
  74. DECLARE_RESPONSE_TABLE(TApxMdiDvApp);
  75. };    //{{TApxMdiDvApp}}
  76.  
  77.  
  78. #endif  // apxmddva_h sentry.
  79.